﻿using EscapeZone.Interfaces;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace EscapeZone.Mapping.Elements
{
    public class Coin : ISprite, IPhysical
    {
        public Texture2D Sprite { get { return Art.Coin; } }

        public Vector2 Position { get; set; }

        public Rectangle Rect { get { return new Rectangle((int) Position.X, (int) Position.Y, Sprite.Width, Sprite.Height); } }

        public ElementType Type
        {
            get { return ElementType.Coin; }
        }
    }
}
